package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.daoman.Cost;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface CostMapper extends BaseMapper<Cost> {

    //  根据自己所在的楼层和房间查询自己寝室的缴费记录
    List<Cost> getCostList(Map<String, Object> map);

    //    学员缴费
    boolean postCost(Map<String, Object> map);

}
